﻿
using Mes.Application.DTO.Inputs.Operations;

namespace Mes.Application.DTO.Results.Operations
{
    public class StdOperResult : StdOperCommon
    {
        public List<StdOperEntLinkResult> StdOperEntLinks { get; set; }

        public List<StdOperAttrResult> StdOperAttrs { get; set; }

        public List<StdOperStepGrpResult> StdOperStepGrps { get; set; }
    }

    public class StdOperEntLinkResult : StdOperEntLinkInput
    {
        public string ProductionUnitCode { get; set; } = string.Empty;

        public string ProductionUnitName { get; set; } = string.Empty;
    }

    public class StdOperAttrResult : StdOperAttrInput
    {
        public int Data_Type { get; set; } = 0;

        public string Attr_Desc { get; set; } = string.Empty;
    }

    public class StdOperStepGrpResult : StdOperStepGrpCommon
    {
        public List<StdOperStepResult> StdOperSteps { get; set; }
    }

    public class StdOperStepResult : StdOperStepInput
    {

    }
}
